import request from '@/utils/request'
import { getMiniAppId } from '@/utils/index'
// 支付设置数据
export function paymentList(data) {
  const my_data = getMiniAppId({ get_type: 1, ...data })
  delete my_data.get_type
  console.log(my_data, '>>>>>>>>>>>>>>>>my_data')
  return request({
    url: '/admin/payment/index',
    method: 'post',
    data: my_data
  })
}
// 支付设置保存
export function paymentSave(data) {
  return request({
    url: '/admin/payment/save',
    method: 'post',
    data: data
  })
}
